package csel.model.skills;

import csel.model.CharacterStats;
import csel.model.entity.Character;

public class Staff extends PassiveSkill
{
	private static final long serialVersionUID = 5L;

	public Staff(Character owner)
	{
		super(owner);
		setName("staff");
		setDescription("ability to stealthily move from place to place; movement is slowed while creeping. A successfully creeping character can surprise and back-stab an unwary opponent for extra damage.");
	}

	@Override
	public int applyBonus(CharacterStats cs, int value)
	{
		if(cs == CharacterStats.Staff)
		{
			return(value + getPointsAllocated());
		}
		else
		{
			return(value);
		}
	}
}